package com.first.entity;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ClassEntity {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "班级名")
    private String className;

    @ApiModelProperty(value = "年级")
    private String classType;

    @ApiModelProperty(value = "班级人数")
    private Integer classNumber;

    public Integer getId() {
        return id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassType() {
        return classType;
    }

    public void setClassType(String classType) {
        this.classType = classType;
    }

    public Integer getClassNumber() {
        return classNumber;
    }

    public void setClassNumber(Integer classNumber) {
        this.classNumber = classNumber;
    }

    @Override
    public String toString() {
        return "ClassEntity{" +
                "id=" + id +
                ", className='" + className + '\'' +
                ", classType='" + classType + '\'' +
                ", classNumber=" + classNumber +
                '}';
    }


    public ClassEntity(Integer id, String className, String classType, Integer classNumber) {
        this.id = id;
        this.className = className;
        this.classType = classType;
        this.classNumber = classNumber;
    }

    public ClassEntity(String className, String classType, Integer classNumber) {
        this.className = className;
        this.classType = classType;
        this.classNumber = classNumber;
    }

}
